char stack[512];
int top=-1;